package com.blacktry.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blacktry.entity.model.CourseInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blacktry.entity.model.Vo.Courseinformation;
import com.blacktry.entity.model.Vo.Courseinformation2;
import com.blacktry.entity.model.Vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author blackTry
 * @since 2021-12-12
 */
@Mapper
public interface CourseInfoMapper extends BaseMapper<CourseInfo> {

    Page< CourseInfo> selectInfo(String courseId, String userId,Page<CourseInfo> page);

    public Page<Courseinformation2> selectUser(String courseId,Page<Courseinformation2> page);


    public Page<Courseinformation> selectCourse(String userId, Page<Courseinformation> page);


//    public List<String> courseid (String username);





}
